home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Plug-In Power Pack for Netscape Communicator
/
Plug-In Power Pack for Netscape Communicator.iso
/
plugins
/
dataviews
/
include
/
dvaxis.h
< prev
next >
Wrap
Text File
|
1997-05-08
|
3KB
|
84 lines
/*
| file name -- dvaxis.h
|===================================================================
|
| copyright (C) 1987, V.I. Corporation
|
| dvaxis - Defines for using VUaxis routines.
|
| Alan Morse 4 Jun 87
| Alan Morse 6 jan 89 Add INTEGER_AXIS and
| DRAW_MINOR_TICKS and
| BASE_EXPONENT
| M. Smith 3 Apr 91 Added LABEL_FORMAT_FUNCTION
|
|===================================================================
|
| Description/function:
| See VUaxis.c for a description of axes and their fields.
|
|===================================================================
*/
/* Flags indicating the axis direction */
#define AXIS_RIGHT 1
#define AXIS_UP 2
#define AXIS_LEFT 3
#define AXIS_DOWN 4
#define LEFT_SIDE AXIS_LEFT
#define RIGHT_SIDE AXIS_RIGHT
/* Flags defining axis attribute fields that may be SET */
/* Current maximum flag value is 43 */
#define AXIS_COLOR 1 /* int */
#define AXIS_DIRECTION 2 /* int */
#define AXIS_IS_LOG 3 /* INT_BOOL */
#define AXIS_LENGTH 4 /* int */
#define AXIS_NEW_START_VALUE 5 /* double */
#define AXIS_START_POINT 6 /* DV_POINT* */
#define DRAW_GRID 7 /* INT_BOOL */
#define DRAW_LABELS 8 /* INT_BOOL */
#define DRAW_TICKS 9 /* INT_BOOL */
#define DRAW_MINOR_TICKS 35 /* INT_BOOL */
#define FULL_DATA_RANGE 10 /* double double */
#define GRID_COLOR 11 /* int */
#define GRID_EXCLUDE_ENDS 12 /* INT_BOOL */
#define GRID_EXCLUDE_START 42 /* INT_BOOL */
#define GRID_LENGTH 13 /* int */
#define GRID_LINE_TYPE 14 /* int */
#define GRID_SIDE 15 /* int */
#define HIGHEST_VALUE 37 /* double */
#define INTEGER_AXIS 34 /* INT_BOOL */
#define LABEL_DISTANCE 16 /* int */
#define LABEL_FUNCTION 17 /* ADDRESS ADDRESS */
#define LABEL_FORMAT_FUNCTION 41 /* ADDRESS ADDRESS int */
#define LABEL_SIDE 18 /* int */
#define LABEL_TEXTSIZE 19 /* int */
#define MIN_MAJOR_PIXEL_GAP 20 /* double */
#define MIN_MAJOR_VALUE_GAP 21 /* double */
#define MIN_MINOR_PIXEL_GAP 22 /* double */
#define MIN_MINOR_VALUE_GAP 23 /* double */
#define TICK_LENGTH 24 /* int */
#define TICK_SIDE 25 /* int */
/* Flags defining axis attribute fields that you may GET */
/* AFTER the axis has been "evaluated". */
#define AXIS_BOUNDS 26 /* RECTANGLE* */
#define BASE_EXPONENT 36 /* int* */
#define INITIAL_TICK_VALUE 27 /* double* */
#define INITIAL_TICK_POINT 28 /* DV_POINT* */
#define INITIAL_TICK_COORD 43 /* double* */
#define MAJOR_PIXEL_GAP 29 /* double* */
#define MAJOR_VALUE_GAP 30 /* double* */
#define MINOR_PIXEL_GAP 31 /* double* */
#define MINOR_VALUE_GAP 32 /* double* */
#define MINOR_TICKS_PER_MAJOR 33 /* int* */
#define TICK_LABEL_EXTENT 38 /* DV_POINT* */
#define TICK_LABEL_LENGTH 39 /* int* */
#define TICK_LABEL_STRING 40 /* double char* */
#define FIRST_TIC_TYPE 41 /* int* */
/* Axis Descriptor typedef for applications programmers */
#define AXISDESC ADDRESS /* ax axis descriptor */